package com.itheima.exercise.device;
/*
洗衣机类
属性：品牌、型号、颜色、售价、电机类型、洗涤容量
 */
public class Washer extends Device{
    private String motorType;
    private double washingCapacity;

    public Washer() {
    }

    public Washer(String brands, String type, String color, String price, String motorType, double washingCapacity) {
        super(brands, type, color, price);
        this.motorType = motorType;
        this.washingCapacity = washingCapacity;
    }
}
